/* pages/goods_detail/goods_detail.wxss */
page{
padding-bottom: 90rpx;

}
.datail_swiper{
    swiper{
        height: 65vw;
        // background-color: red;
        text-align: center;
        image{
            width: 60%;
        }
    };
}
.goods_price{
    padding: 15rpx;
    font-size: 32rpx;
    font-weight: 600;
    color: var(--themeColor);
}
.goods_name_row{
    display: flex;
    border-top: 5rpx solid #dedede;
    border-bottom: 5rpx solid #dedede;
    .goods_name{
        flex: 5;
        color: #000;
        font-size: 30rpx;
        padding: 0 10rpx;
        // 文本显示为两行,超过部分隐藏并使用省略号
        display: -webkit-box;
        overflow: hidden;
        // 文字溢出隐藏变省略号的样式
        -webkit-box-orient: vertical;
        //文字为2行
        -webkit-line-clamp: 2;
    }
    .goods_collect{
        flex:1;
        display: flex;
        //上下方案
        flex-direction: column;
        justify-content: center;
        align-items: center;
        border-left: 1rpx solid #000;
        .icon-shoucang{
            color: #eb4450;
        }
    }
}
.goods_info{
    .goods_info_tilte{
        padding: 20rpx;
        font-size: 32rpx;
        font-weight: 600;
        color: var(--themeColor);
    }
}
.btm_tool{
    position:fixed;
    border-top:1rpx solid #ccc;
    left:0;
    bottom:0;
    width: 100%;
    height: 90rpx;
    background-color: #fff;
    display: flex;
    .tool_item{
       flex: 1; 
       display: flex;
       flex-direction: column;
       justify-content: center;
       align-items:center;
       font-size: 24rpx;
       position: relative;
       button{
           position: absolute;
           top:0;
           left:0;
           width: 100%;
           height:100%;
           opacity: 0;
       }
    }
    .btn_cart{
        flex:2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items:center;
        background-color: #ffa500;
        color: #fff;
        font-size: 30rpx;
        font-weight: 600;
    }
    .btn_buy{
        flex:2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items:center;
        background-color: #eb4450;
        color: #fff;
        font-size: 30rpx;
        font-weight: 600;
    }
}